{extend name="public/base"}

{block name="title"}SEO信息列表{/block}

{block name="main"}
<!--数据列表-->
<table class="layui-table">
  <thead class="bg-light">
  <tr>
    <th class="text-center">ID</th>
    <th class="text-center">所属目录</th>
    <th class="text-center">LOGO</th>
    <th class="text-center">网站标题</th>
    <th class="text-center">SEO关键词</th>
    <th class="text-center">SEO描述</th>
    <th class="text-center">创建时间</th>
    <th class="text-center">操作</th>
  </tr>
  </thead>
  <tbody>
  {volist name="list" id="vo"}
  <tr>
    <td class="text-center">{$vo.hostinfo.id}</td>
    <td class="text-center">{$vo.name}</td>
    <td class="text-center"><img src="{$vo.hostinfo.logo}" style="width: 120px;height: 80px" alt="图片"/></td>
    <td class="text-center">{$vo.hostinfo.title}</td>
    <td class="text-center">{$vo.hostinfo.key}</td>
    <td class="text-center">{$vo.hostinfo.des}</td>
    <td class="text-center">{$vo.hostinfo.create_at}</td>
    <td class="text-center">
      <form action="{:url('/hostinfo/'.$vo.hostinfo.id)}" method="post">
        <a href="{:url('/hostinfo/'.$vo.hostinfo.id.'/edit').'?hostcat_id='.$vo.id}" class="layui-btn layui-btn-warning layui-btn-sm">修改</a>
      </form>
    </td>
  </tr>
  {/volist}
  </tbody>
</table>
<!--分页-->
{/block}

{block name="js"}
<script type="text/javascript">
</script>
{/block}
